<?
    $conteudo = '';

	for($i = 0; $i < count($objDataBase->tabelas); $i++)
	{
		if ($i > 0)
		{
           $conteudo .= "\t\t" . '<table border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td><img src="<?= $raizImagens ?>/pipe_bg.gif" alt="" width="28" height="5"></td>
        </tr>
      </table>
      <table border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td><img src="<?= $raizImagens ?>/pipe_bg.gif" alt="-" width="28" height="5"></td>
        </tr>
      </table>';
		}

			$conteudo .= "\t\t" . '<table border="0" cellpadding="0" cellspacing="0" class="lcum">
        <tr> 
          <td background="<?= $raizImagens ?>/left_column_header_top.gif" width="179" height="35"><div align="center"><?= $matTabelas[' . "'" . $objDataBase->getTabela($i) . "'" . '] ?></div></td>
        </tr>
        <tr> 
          <td><div align="right"><img src="<?= $raizImagens ?>/left_column_2box.gif" width="176" height="25"></div></td>
        </tr>
        <tr> 
          <td background="<?= $raizImagens ?>/css_bg_lcoumn.gif" class="lcolumnt" height="17">
		    <table width="100%" border="0" cellpadding="0" cellspacing="2">
              <tr> 
                <td width="15%">&nbsp;</td>
                <td width="8%"><div align="center"><img src="<?= $raizImagens ?>/arrow_icon_nav.gif" width="8" height="10"></div></td>
                <td width="66%" bgcolor="#F4F4F4"><a href="../tl/tl_inserir_' . $objDataBase->getTabela($i) . '.php">Inserir</a></td>
                <td width="11%">&nbsp;</td>
              </tr>
              <tr> 
                <td width="15%">&nbsp;</td>
                <td width="8%"><div align="center"><img src="<?= $raizImagens ?>/arrow_icon_nav.gif" width="8" height="10"></div></td>
                <td width="66%" bgcolor="#F4F4F4"><a href="../tl/tl_consulta_tabela_' . $objDataBase->getTabela($i) . '.php">Consultar</a></td>
                <td width="11%">&nbsp;</td>
              </tr>
              <tr> 
                <td width="15%">&nbsp;</td>
                <td width="8%"><div align="center"><img src="<?= $raizImagens ?>/arrow_icon_nav.gif" width="8" height="10"></div></td>
                <td width="66%" bgcolor="#F4F4F4"><a href="../tl/tl_form_pesq_' . $objDataBase->getTabela($i) . '.php">Pesquisar</a></td>
                <td width="11%">&nbsp;</td>
              </tr>
              <tr> 
                <td width="15%">&nbsp;</td>
                <td width="8%"><div align="center"><img src="<?= $raizImagens ?>/arrow_icon_nav.gif" width="8" height="10"></div></td>
                <td width="66%" bgcolor="#F4F4F4"><a href="../tl/tl_form_consulta_' . $objDataBase->getTabela($i) . '.php">Tabela</a></td>
                <td width="11%">&nbsp;</td>
              </tr>
            </table>
	      </td>
        </tr>
        <tr> 
          <td height="17"><div align="right"><img src="<?= $raizImagens ?>/lcolumn_bottom.gif" alt="-" width="176" height="30"></div></td>
        </tr>
      </table>';
	}

	GravarArquivo::execute('itens_menu.php', $conteudo);
?>